<?php use_helper('I18N', 'Date') ?>
<div class="content-block">    
    <h2>My Credentials <span class="actions"><a href="/backend.php/profile_account_settings/<?php echo $sf_user->getId() ?>/edit" id="edit_account_settings">Edit</a></span></h2>
    <div id="account_Settings_container">
        <div class="left-block" style="width: 410px;">
            <div class="profile_row">    
                <div>
                    <label>Username:</label>
                    <div class="content">
                        <?php echo $profile->getUser()->getUsername() ?>
                    </div>
                </div>
            </div>
            <div class="profile_row">    
                <div>
                    <label>Email address:</label>
                    <div class="content">
                        <?php echo $profile->getUser()->getEmailAddress() ?>
                    </div>
                </div>
            </div>
        </div>
        <div class="right-block" style="width: 410px;">
            <div class="profile_row">    
                <div>
                    <label>Password:</label>
                    <div class="content">
                        ********
                    </div>
                </div>
            </div>
            <div class="profile_row">    
                <div>
                    <label>Is active?</label>
                    <div class="content">
                        <?php echo $profile->getIsActive() ? "Yes" : "No"; ?>
                    </div>
                </div>
            </div>
        </div
        <div class="clear"></div>
    </div>
</div>
<script type="text/javascript">
    $(document).ready(function(){ 
        $("#edit_account_settings").click(function(){
            openPopup($(this).attr("href"), '460px', "480px", "Edit My Credentials");
            return false;
        });
    });
</script>